package com.cameron.serviceedu.mapper;

import com.cameron.serviceedu.entity.EduCourse;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.cameron.serviceedu.entity.dto.CourseDetailsDto;

/**
 * <p>
 * 课程 Mapper 接口
 * </p>
 *
 * @author cameron
 * @since 2022-06-17
 */
public interface EduCourseMapper extends BaseMapper<EduCourse> {
    /**
     * 获取课程的详细信息
     * @param courseId 课程id
     * @return
     */
    public CourseDetailsDto getCourseDetails(String courseId);
}
